package com.tbr.blockchain.model;

public class TransactionOutput {
    private int value;
    private String publicKeyHash;

    public TransactionOutput() {
    }

    public TransactionOutput(int value, String publicKeyHash) {
        this.value = value;
        this.publicKeyHash = publicKeyHash;
    }

    /**
     * 获取
     * @return value
     */
    public int getValue() {
        return value;
    }

    /**
     * 设置
     * @param value
     */
    public void setValue(int value) {
        this.value = value;
    }

    /**
     * 获取
     * @return publicKeyHash
     */
    public String getPublicKeyHash() {
        return publicKeyHash;
    }

    /**
     * 设置
     * @param publicKeyHash
     */
    public void setPublicKeyHash(String publicKeyHash) {
        this.publicKeyHash = publicKeyHash;
    }

    public String toString() {
        return "TransactionOutput{value = " + value + ", publicKeyHash = " + publicKeyHash + "}";
    }
}
